<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
<head>
<link href="common/common.css" rel="stylesheet" type="text/css">
<script src="common/common.js" type="text/javascript"></script>
<script type="text/javascript" src="common/popcalendar.js"></script>
</head>
<body>
<div id="centerlayout" style="width:600px">
<strong>【快递线路录入】</strong>
<html:form action="ExpressShipPathCreateAction.do">
	<div style="text-align: left;color:red"><html:errors /></div>
		<fieldset style="border: none;border-top: 1px solid #C9DCA6;"><legend></legend>
		<table class="input-table" width="100%" align="center">
			<tbody>
				<tr>
				    <td class="column">起始城市</td>
				    		<td class="value">
						<html:text property="startPos" size="5" styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">目的城市</td>
				    		<td class="value">
						<html:text property="endPos" size="5" styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
				<ct:call object="${springctx.appDicService}" method="getDicMap"	param="deliveryServiceTypeM" return="serviceTypedicMap" />
					    </tr>
					    <tr>
				    <td class="column">服务类型</td>
				    		<td class="value">
						<html:select property="serviceType">
						<c:forEach items="${serviceTypedicMap}" var="map">
						<html:option value="${map.key}">${map.value}</html:option>
						</c:forEach>
						</html:select>
					</td>
				<ct:call object="${springctx.appDicService}" method="getDicMap"	param="transPortTypeMap" return="transPortTypedicMap" />
					    </tr>
					    <tr>
				    <td class="column">运输方式</td>
				    		<td class="value">
						<html:select property="transPortType">
						<c:forEach items="${transPortTypedicMap}" var="map">
						<html:option value="${map.key}">${map.value}</html:option>
						</c:forEach>
						</html:select>
					</td>
					    </tr>
					    <tr>
				    <td class="column">运输距离</td>
				    		<td class="value">
						<html:text property="roadDistance" size="16" styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">预计运时</td>
				    		<td class="value">
						<html:text property="estimateHours" size="16" styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">估算成本</td>
				    		<td class="value">
						<html:text property="estimateCost" size="16" styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">运输报价</td>
				    		<td class="value">
						<html:text property="quotedPrice" size="16" styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">加急报价</td>
				    		<td class="value">
						<html:text property="urgentPrice" size="16" styleClass="textbox" errorStyleClass="textbox_err" />
					</td>
					    </tr>
					    <tr>
				    <td class="column">备注</td>
				    		<td class="value" colspan="1">
						<html:textarea  rows="4" cols="80" property="noteDesc"/>
					</td>
				</tr>
			</tbody>
		</table>
		</fieldset>
				<button class="button" type="submit" name="confirm">确 定</button>
				<input class="button" type="button" value="返回" onclick="redirect('<c:url value='ExpressShipPathMainAction.do?method=doQuery'/>')"/>
</html:form>
</div>
</body>
</html>
